package com.zyg.pojo;

import java.io.Serializable;

public class Room implements Serializable {
    private Integer id;
    private String rname;


    public Room() {
    }

    public Room(Integer id, String rname) {
        this.id = id;
        this.rname = rname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }


    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", rname='" + rname + '\'' +
                '}';
    }
}
